package com.alex.ioc.annotation.dao.impl;

import com.alex.ioc.annotation.dao.CarDao;
import com.alex.ioc.annotation.pojo.Car;
import org.springframework.stereotype.Repository;

@Repository(value = "carDao")
public class CarDaoImpl implements CarDao {

    @Override
    public void save(Car car) {
        System.out.print("dao: save car --> ");
        System.out.print(car);
        System.out.println();
    }
}
